import request from '@/utils/request'

// 登录
export const login = (data) => {
  return request.post('/sys/login', data)
}

// 获取用户信息
export const getUserInfo = () => {
  return request.get('/sys/profile')
}

// 修改用户密码
export const updatePass = (data) => {
  return request.put('/sys/user/updatePass', data)
}
